﻿using Digitalmes.Domain.Enums;

namespace Digitalmes.Scada.Services;

/// <summary>
/// 设备运行模式服务。
/// </summary>
public interface IEquipmentModeService
{
    /// <summary>
    /// 更改设备运行模式。
    /// </summary>
    /// <param name="lineCode">产线编号</param>
    /// <param name="equipCode">设备编号</param>
    /// <param name="runningMode">运行模式</param>
    /// <returns></returns>
    Task ChangeModeAsync(string lineCode, string equipCode, EquipRunningMode runningMode);
}
